package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void add(AddressBook addressBook);
    List<AddressBook> list();
    void setDefault(long id);
    void update(AddressBook addressBook);
    AddressBook get(long id);
    void deleteById(long id);
    AddressBook getDefault();
}
